import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {GnCrudModule} from "geminis-ng";
import {Work2doComponent} from "./work2do/work2do.component";
import {StartWorkComponent} from "./startWork/startWork.component";
import {WorkFormComponent} from "./work2do/workForm/workForm.component";
import {StartFormComponent} from "./startWork/startForm/startForm.component";

const routes: Routes = [
  // {path: '', component: LoginComponent}
];

@NgModule({
  declarations: [
    StartWorkComponent,
    StartFormComponent,
    Work2doComponent,
    WorkFormComponent
  ],
  imports: [
    RouterModule.forChild(routes),

    GnCrudModule
  ],
  exports: [
    StartWorkComponent,
    StartFormComponent,
    Work2doComponent,
    WorkFormComponent
  ],
  entryComponents: [
    StartFormComponent,
    WorkFormComponent
  ]
})

export class UserModule {
}
